]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Don't update input region on wayland
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 4 Sep 2018 15:35:39 +0000 (17:35 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 8 Oct 2018 16:03:53 +0000 (16:03 +0000)
We already see all events on wayland, so we can save us the work
of computing the XFixes region there.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/273

js/ui/layout.js

index 7a3cb227d51316d1e9973e9c0cb43f06c7021760..039cc43012d29df8aa5e1dde86c1a71445825929 100644 (file)
@@ -1059,7 +1059,8 @@ var LayoutManager = new Lang.Class({
             }
         }
 
-        global.set_stage_input_region(rects);
+        if (!Meta.is_wayland_compositor())
+            global.set_stage_input_region(rects);
         this._isPopupWindowVisible = isPopupMenuVisible;
 
         let workspaceManager = global.workspace_manager;